import request from '@/utils/request'

/**
 * 查询：车辆，企业。驾驶员，消纳场个数
 * @param params
 * @returns {*}
 */
export function boardQueryRelCnt(params) {
    return request({
        url: '/api/console/board/queryRelCnt',
        method: 'post',
        data: params
    })
}

/**
 * 查询近30天车辆违规类型
 * @param params
 * @returns {*}
 */
export function boardQueryRecentViolationList(params) {
    return request({
        url: '/api/console/board/queryRecentViolationList',
        method: 'post',
        data: params
    })
}

/**
 * 运输单位最近7天违规
 * @param params
 * @returns {*}
 */
export function boardQuerySevenDaysViolation(params) {
    return request({
        url: '/api/console/board/querySevenDaysViolation',
        method: 'post',
        data: params
    })
}

/**
 * 运输单位近30天趟次
 * @param params
 * @returns {*}
 */
export function boardQueryRecentTripCnt(params) {
    return request({
        url: '/api/console/board/queryRecentTripCnt',
        method: 'post',
        data: params
    })
}

/**
 * 大屏右下角-运输趟数
 * @param params
 * @returns {*}
 */
export function boardQueryTripList(params) {
    return request({
        url: '/api/console/board/queryTripList',
        method: 'post',
        data: params
    })
}



